package com.spn.blog.article.pojo;


public enum ArticleStatus {

    // 文章审核成功
    SUCCESS(0,"审核通过"),
    // 文章审核未通过
    FAILED(1,"审核未通过"),
    // 文章正在处理
    Processing(2,"正在处理");

    private int code;
    private String msg;

    ArticleStatus(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
